package com.run.runbbs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.run.runbbs.dao.UserFamilyMapper;
import com.run.runbbs.entity.UserFamily;
import com.run.runbbs.entity.UserInfo;
import com.run.runbbs.service.UserFamilyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserFamilyServiceImpl extends ServiceImpl<UserFamilyMapper, UserFamily> implements UserFamilyService {
    @Autowired
    private UserFamilyMapper userFamilyMapper;
    //绑定家庭成员
    @Override
    public void insertFamily(Integer userId, String memberType, UserInfo userInfo) {
        UserFamily member=new UserFamily();
        member.setUserId(userId);


    }
}
